package cn.i7baozh.starter.common.exception;

/**
 * @Title:
 * @Description:
 * @author: baoqi.zhang
 * @date: 2020/6/1 21:10
 */
public class BussinessRuntimeException extends RuntimeException {

    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public BussinessRuntimeException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
